package icu.thatyear.main.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 *
 * </p>
 *
 * @author Cjy
 * @since 2024-12-06
 */
@Getter
@Setter
@TableName("tz_transfee")
@Schema(name = "TzTransfee", description = "")
public class TzTransfee implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "运费项id")
    @TableId(value = "transfee_id", type = IdType.AUTO)
    private Long transfeeId;

    @Schema(description = "运费模板id")
    @TableField("transport_id")
    private Long transportId;

    @Schema(description = "续件数量")
    @TableField("continuous_piece")
    private BigDecimal continuousPiece;

    @Schema(description = "首件数量")
    @TableField("first_piece")
    private BigDecimal firstPiece;

    @Schema(description = "续件费用")
    @TableField("continuous_fee")
    private BigDecimal continuousFee;

    @Schema(description = "首件费用")
    @TableField("first_fee")
    private BigDecimal firstFee;
}
